<?php


namespace qrcode;


class QrcodeFile
{
    public static function png($text, $outfile = false, $level = QR_ECLEVEL_L, $size = 3, $margin = 4, $saveandprint=false)
    {
        require_once 'qrlib.php';
        $res = \QRcode::png($text, $outfile, $level, $size, $margin, $saveandprint);
        return $res;
    }
}